package hcn.protocol.brandnew.dengji.guahao;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 门诊就诊记录查询 - ODS_02030009_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class ListHistoryRecordResponse {

    /**
     * 就诊历史记录
     */
    @XmlElementWrapper(name = "VisitLists")
    @XmlElement(name = "VisitList")
    private List<VisitList> visitLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class VisitList {

        /**
         * 就诊机构/开单机构
         */
        @XmlElement(name = "VisitOrganization")
        private String visitOrganization;
        /**
         * 医疗机构组织机构名称
         */
        @XmlElement(name = "VisitOrganizationName")
        private String visitOrganizationName;
        /**
         * 业务系统患者档案ID1
         */
        @XmlElement(name = "SourcePatientId1")
        private String sourcePatientId1;
        /**
         * 就诊标识
         */
        @XmlElement(name = "VisitId")
        private String visitId;
        /**
         * 业务系统患者档案ID2
         */
        @XmlElement(name = "SourcePatientId2")
        private String sourcePatientId2;
        /**
         * 门（急）诊号
         */
        @XmlElement(name = "ClinicId")
        private String clinicId;
        /**
         * 科室代码
         */
        @XmlElement(name = "DeptCode")
        private String deptCode;
        /**
         * 疾病诊断名称
         */
        @XmlElement(name = "DiagnoseName")
        private String diagnoseName;
        /**
         * 诊断日期
         */
        @XmlElement(name = "DiagnoseDateTime")
        private Long diagnoseDateTime;
        /**
         * 科室名称
         */
        @XmlElement(name = "VisitDeptName")
        private String visitDeptName;
        /**
         * 操作医生编码
         */
        @XmlElement(name = "DoctorId")
        private String doctorId;
        /**
         * 责任医师姓名
         */
        @XmlElement(name = "ResponsibilityDoctor")
        private String responsibilityDoctor;
        /**
         * 病人性质
         */
        @XmlElement(name = "PatientPropertiesName")
        private String patientPropertiesName;
    }

}
